package com.xb.loan.encryptor.bean.request;


import com.xb.loan.encryptor.bean.Head;
import com.xb.loan.encryptor.bean.LotteryBean;
import com.xb.loan.util.binaryConvert.BinaryParseUtil;

public class QueryClassReq extends LotteryBean {
	// 请求的className
	private String className;

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}
	
	public static void main(String[] args) {
		
		Head head = new Head();
		
		head.setTimeStamp("2012-08-22 00:00:00");
		head.setGuid("default");
		head.setTranscode("002");
		
		QueryClassReq req = new QueryClassReq();
		
		req.setHead(head);
		req.setClassName("className");
		
		byte[] bb = BinaryParseUtil.format(req);
		
		System.out.println(bb);
	}
	
}
